package com.ow.dva.module.duty.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ow.dva.module.base.entity.base.BaseEntity;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 值班记录
 * </p>
 *
 * @author jinagyanpeng
 * @since 2020-04-09
 * @version V1.0
 */
@TableName("dva_duty_record")
@ApiModel(value="DutyRecord对象", description="值班记录")
public class DutyRecord implements Serializable{

    private static final long serialVersionUID = 1L;

    private String id;

    private String parkId;

    private String parkName;

    private String roadId;

    private String roadName;

    private String accountInfoId;

    private String accountInfoName;

    private Date dutyTime;

    private String dutyId;

    private Integer week;

    private Integer timeInterval;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getParkId() {
        return parkId;
    }

    public void setParkId(String parkId) {
        this.parkId = parkId;
    }
    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }
    public String getRoadId() {
        return roadId;
    }

    public void setRoadId(String roadId) {
        this.roadId = roadId;
    }
    public String getRoadName() {
        return roadName;
    }

    public void setRoadName(String roadName) {
        this.roadName = roadName;
    }
    public String getAccountInfoId() {
        return accountInfoId;
    }

    public void setAccountInfoId(String accountInfoId) {
        this.accountInfoId = accountInfoId;
    }
    public String getAccountInfoName() {
        return accountInfoName;
    }

    public void setAccountInfoName(String accountInfoName) {
        this.accountInfoName = accountInfoName;
    }
    public Date getDutyTime() {
        return dutyTime;
    }

    public void setDutyTime(Date dutyTime) {
        this.dutyTime = dutyTime;
    }

    public String getDutyId() {
        return dutyId;
    }

    public void setDutyId(String dutyId) {
        this.dutyId = dutyId;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public Integer getTimeInterval() {
        return timeInterval;
    }

    public void setTimeInterval(Integer timeInterval) {
        this.timeInterval = timeInterval;
    }

    public DutyRecord() {
    }

    public DutyRecord(String id, String parkId, String parkName, String roadId, String roadName, String accountInfoId, String accountInfoName, Date dutyTime, String dutyId, Integer week, Integer timeInterval) {
        this.id = id;
        this.parkId = parkId;
        this.parkName = parkName;
        this.roadId = roadId;
        this.roadName = roadName;
        this.accountInfoId = accountInfoId;
        this.accountInfoName = accountInfoName;
        this.dutyTime = dutyTime;
        this.dutyId = dutyId;
        this.week = week;
        this.timeInterval = timeInterval;
    }

    @Override
    public String toString() {
        return "DutyRecord{" +
            "id=" + id +
            ", parkId=" + parkId +
            ", parkName=" + parkName +
            ", roadId=" + roadId +
            ", roadName=" + roadName +
            ", accountInfoId=" + accountInfoId +
            ", accountInfoName=" + accountInfoName +
            ", dutyTime=" + dutyTime +
        "}";
    }
}
